package com.pojo;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author mornd
 * @date 2020/12/4 - 15:10
 */
@Data
public class Checkin {
    private Integer id;
    private Double payPrice;
    private Integer roomTypeId;
    private Integer roomId;
    private String customerName;
    private String idCard;
    private String phone;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date arriveDate;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date leaveDate;
    private Integer ordersId;
    private Integer status;//1、待确认2、已确认3、已入住
    private Date createDate;
    private Integer createdBy;
    private Date modifyDate;
    private Integer modifyBy;
    private String remark;
    //房型对象
    private RoomType roomType;
    //房间对象
    private Room room;
}
